package ${basePackage}.mapper;

import org.mapstruct.Mapper;
import org.mapstruct.MappingTarget;
import org.mapstruct.NullValueCheckStrategy;
import ${basePackage}.domain.${methodName};
import ${basePackage}.vo.${methodName}VO;
import ${basePackage}.dto.${methodName}DTO;

import java.util.List;

/**
* @author: sovy
* @date: ${createTime}
* @description:
*/
@Mapper(componentModel = "spring", nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface ${methodName}Mapper {

    ${methodName}VO get${methodName}VO(${methodName} ${defineName});

    List<${methodName}VO> get${methodName}VO(List<${methodName}> ${defineName}s);

    void copyTo${methodName}(@MappingTarget ${methodName} ${defineName}, ${methodName}DTO ${defineName}DTO);
}